home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / libs / cwrlib31.lha / cwritelib.i < prev    next >
Text File  |  1992-07-22  |  2KB  |  78 lines

  1. **************************************************************************
  2. *                                                                        *
  3. * cwritelib.i -- definition of Cwrite structure                          *
  4. *                                                                        *
  5. * Copyright (C) 1992 Tribune Channel Software Team. All rights reserved. *
  6. *                                                                        *
  7. **************************************************************************
  8.  
  9.     IFND    CWRITELIB_I
  10. CWRITELIB_I    SET    1
  11.  
  12.     IFND    CWRITELIB_BASE_I
  13.     INCLUDE    "cwritelibbase.i"
  14.     ENDC    ; CWRITELIB_BASE_I
  15.  
  16. *****************************************************************************
  17. *  The following structure is for *PRIVATE USE ONLY*!
  18. *  The only thing it should be used for, is to handle the pointer over to
  19. *  the library, that then will use the things.
  20. *  None of the values should be altered, unless you are very sure of what
  21. *  you are doing. - Doing so is on your own risk.
  22. *****************************************************************************
  23.  
  24.     STRUCTURE    CwrData,0
  25.     APTR    cd_Screen    ; Pointer to the window's screen
  26.     APTR    cd_Window    ; Pointer to the window
  27.     APTR    cd_BitMap    ; Pointer to the window's bitmap
  28.     APTR    cd_RastPort    ; Pointer to the window's rastport
  29.     APTR    cd_Font        ; Pointer to the window's font
  30.     WORD    cd_XPos        ; Current X-position
  31.     WORD    cd_YPos        ; Current Y-position
  32.  
  33.     LONG    cd_JumpAddress    ; The rest of this stuff is for
  34.     LONG    cd_String    ; internal use only! DO NOT ALTER!
  35.     LONG    cd_TxtStyle    ; Use CWriteInit() instead, if you
  36.     WORD    cd_RestoreX    ; have changed the window limits.
  37.     WORD    cd_RestoreY
  38.     WORD    cd_Length
  39.     WORD    cd_Lines
  40.     WORD    cd_Rows
  41.     WORD    cd_Wy
  42.     WORD    cd_ScreenH
  43.     WORD    cd_ScreenW
  44.     WORD    cd_CharX
  45.     WORD    cd_CharY
  46.     WORD    cd_BaseLine
  47.     WORD    cd_No_of_bytes
  48.     WORD    cd_BufCount
  49.     WORD    cd_Color
  50.     WORD    cd_SaveColor
  51.     UBYTE    cd_Byte
  52.     UBYTE    cd_Bold
  53.     UBYTE    cd_Flags
  54.     UBYTE    cd_ScrByte
  55.     UBYTE    cd_CursorType
  56.     UBYTE    cd_Unused    ;padding character.
  57.     STRUCT    cd_CursorPtrn,4
  58.     STRUCT    cd_AreaPtrn,4
  59.     STRUCT    cd_Buffer,100
  60.     LABEL    CwrData_SIZEOF
  61.  
  62. CURSORTYPE_NONE        equ    0
  63. CURSORTYPE_FAST        equ    1
  64. CURSORTYPE_SLOW        equ    2
  65. CURSORTYPE_GHOSTED    equ    3
  66.  
  67. _LVOCWriteInit        equ    -30
  68. _LVOCWrite        equ    -36
  69. _LVOCWriteAlloc        equ    -42
  70. _LVOCWriteFree        equ    -48
  71. _LVOCWriteCursorType    equ    -54
  72. _LVOCWriteOpenWindow    equ    -60
  73. _LVOCWriteCloseWindow    equ    -66
  74. _LVOCWriteSetColors    equ    -72
  75.  
  76.     ENDC    ; CWRITELIB_I
  77.  
  78.